package com.crazypos.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crazypos.pojo.CategoryEntity;
import com.crazypos.pojo.bo.CreateCategoryBO;

public interface ICategoryService extends IService<CategoryEntity> {
    void createCategory(boolean isAdmin, String name, String organizationId, String createdBy);

    void updateCategory(boolean isAdmin, String categoryId, String name, String organizationId);

    IPage<CategoryEntity> adminGetCategoryList(Integer startPage, Integer pageSize, String keyword, Integer isSystem);

    int getCountByOrzId(String categoryId,String organizationId);
}
